# -------------------------------------------------
# Project created by QtCreator 2010-03-16T20:57:36
# -------------------------------------------------
macx { 
    INCLUDEPATH += /opt/local/include/boost \
        /opt/local/include/boost/filesystem \
        /opt/local/include \
        /opt/local/include/taglib
    LIBPATH += /opt/local/lib
    LIBS += -lboost_filesystem \
        -lboost_system \
        -lboost_regex \
        -ltag \
        -lmxml \
        -lcurl
}
unix { 
    INCLUDEPATH += /usr/include/boost \
        /usr/include/boost/filesystem \
        /usr/local/include/taglib \
        /usr/local/include \
        /usr/include \
        /usr/include/lib
    LIBS += -lboost_filesystem \
        -lboost_system \
        -lboost_regex \
        -ltag \
        -lmxml \
        -lcurl
}
win32 { 
    LIBPATH += "C:\Program Files\boost_1_41_0\stage\lib" \
        "libwin32\taglib-mingw-2007-08-06\lib" \
        "libwin32\mxml-2.6" \
        "libwin32\pthread" \
        "libwin32\curl-7.20.0-devel-mingw32\lib"
    INCLUDEPATH += "C:\Program Files\boost_1_41_0" \
        "libwin32\taglib-mingw-2007-08-06\include\taglib" \
        "libwin32\mxml-2.6" \
        "libwin32\pthread" \
        "libwin32\curl-7.20.0-devel-mingw32\include"
    LIBS += -llibboost_filesystem-mgw44-sd \
        -llibboost_regex-mgw44-sd \
        -llibboost_system-mgw44-sd \
        -llibtag \
        -llibmxml \
        -lpthreadVC2 \
        -llibcurldll
}
MusicOrganiserConfig { 
    QT += testlib
    TARGET = MusicOrganiser
    TEMPLATE = app
    SOURCES += main.cpp \
        frmrule.cpp \
        mainwindow.cpp \
        org/rule.cpp \
        org/ruleio.cpp \
        org/organiser.cpp \
        org/audioinfo.cpp \
        org/debug.cpp \
        treewidgetitem_node.cpp \
        org/ruleinterpreter.cpp \
        org/vars.cpp \
        org/httprequest.cpp \
        fileoperations.cpp \
        frmmain.cpp \
        qrulemodel.cpp \
        tablemodel.cpp \
        qmatchedpathmodel.cpp \
        qrulegroupmodel.cpp \
        test/testsuite_lu.cpp \
        org/discoginfo.cpp
    HEADERS += mainwindow.h \
        frmrule.h \
        org/rule.h \
        org/ruleio.h \
        org/organiser.h \
        org/audioinfo.h \
        org/debug.h \
        treewidgetitem_node.h \
        org/ruleinterpreter.h \
        org/vars.h \
        org/audioinfo.h \
        org/httprequest.h \
        fileoperations.h \
        frmmain.h \
        qrulemodel.h \
        tablemodel.h \
        qmatchedpathmodel.h \
        qrulegroupmodel.h \
        org/discoginfo.h
    FORMS += mainwindow.ui \
        frmrule.ui \
        frmmain.ui
    RESOURCES += resource.qrc
    CONFIG(debug,debug|release):DESTDIR = .
    else:DESTDIR = release
}
TestSuiteConfig {
    QT += testlib
    TARGET = TestSuite
    TEMPLATE = app
    SOURCES += test/testsuite.cpp \
        #test/testsuite_lu.cpp \
        org/audioinfo.cpp \
        org/rule.cpp \
        org/ruleio.cpp \
        org/vars.cpp \
        org/ruleinterpreter.cpp
    HEADERS += org/audioinfo.h \
        org/rule.h \
        org/ruleio.h \
        org/vars.h \
        org/ruleinterpreter.h
    DESTDIR = test
}
